/* 导航栏主布局样式 */
.DGActionBar {
    height: 60px;
    position: sticky !important;
    top: 0;
    background-color: #EDEDED;
    /*box-shadow: none !important;*/
    box-shadow: 0 0 2px #191919 !important;
}

/* 导航栏样式 */
.DGActionBar .toolbar {
    height: 60px;
    min-height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background-color: #EDEDED;
    color: black;
}

/* 左侧区域样式 */
.DGActionBar .toolbar .left {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* 左侧区域 Logo 样式 */
.DGActionBar .toolbar .left .Logo {
    flex: 1;
    background-color: transparent;
    color: black;
    font-weight: bold;
    display: flex;
    justify-content: left;
    margin-left: 10px;
}

/* 左侧区域图标按钮样式 */
.DGActionBar .toolbar .left .icon {
    transition: all 0.3s ease;
    color: black;
    margin-right: 10px;
    display: none;
}

/* 右侧区域样式 */
.DGActionBar .toolbar .right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* 桌面端适配宽度 */
@media only screen and (max-width: 1309px) {
    /* 960 */
    .DGActionBar .toolbar .left .icon {
        display: none;
    }
}

/* 平板端适配宽度 */
@media screen and (max-width: 991px) {
    /* 720 */
    .DGActionBar .toolbar .left .icon {
        display: flex;
    }
}

/* 移动端适配宽度 */
@media screen and (max-width: 768px) {
    /* 540 */
    .DGActionBar .toolbar .left .icon {
        display: flex;
    }
}

/* 自适应默认模式 */
@media (prefers-color-scheme: light) {
    .DGActionBar {
        background-color: #EDEDED;
    }

    .DGActionBar .toolbar {
        color: black;
        background-color: #EDEDED;
    }

    .DGActionBar .toolbar .left .Logo {
        color: black;
    }

    .DGActionBar .toolbar .left .icon {
        color: black;
    }
}

/* 默认模式 */
.DGActionBar.light {
    background-color: #EDEDED;
}

.DGActionBar.light .toolbar {
    color: black;
    background-color: #EDEDED;
}

.DGActionBar.light .toolbar .left .Logo {
    color: black;
}

.DGActionBar.light .toolbar .left .icon {
    color: black;
}

/* 自适应深色模式 */
@media (prefers-color-scheme: dark) {
    .DGActionBar {
        background-color: #111111;
    }

    .DGActionBar .toolbar {
        color: #EDEDED;
        background-color: #111111;
    }

    .DGActionBar .toolbar .left .Logo {
        color: #EDEDED;
    }

    .DGActionBar .toolbar .left .icon {
        color: #EDEDED;
    }
}

/* 深色模式 */
.DGActionBar.dark {
    background-color: #111111;
}

.DGActionBar.dark .toolbar {
    color: #EDEDED;
    background-color: #111111;
}

.DGActionBar.dark .toolbar .left .Logo {
    color: #EDEDED;
}

.DGActionBar.dark .toolbar .left .icon {
    color: #EDEDED;
}
